package com.xjrsoft.module.customerTwo.aiplmAPI;

import com.xjrsoft.common.result.Response;
import com.xjrsoft.core.tool.utils.aiplm.AiplmModelsEntiy;
import com.xjrsoft.core.tool.utils.aiplm.AiplmUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@AllArgsConstructor
@RequestMapping("/aiplm_api")
@Api(value = "法人租赁工单", tags = "法人租赁工单接口")
public class AiplmAPI
{
    /**
     * 自定义分页
     */
    @GetMapping("/getAiplmModelList")
    @ApiOperation(value = "获取aiplm底模", notes = "")
    public Response<List<AiplmModelsEntiy>> getAiplmModelList() {
        return Response.ok(AiplmUtil.getAiplmModelList());
    }
}
